/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

export default {
  path: '/result',
  component: Layout,
  redirect: '/result/okr',
  alwaysShow: true, // will always show the root menu
  name: 'okr',
  meta: {
    title: '绩效考核结果',
    icon: 'permission'
  },
  children: [
    {
      path: '/result/wage',
      name: 'wage',
      component: () => import('@/views/perform-file/wage.vue'),
      meta: { title: '工资结算', icon: 'personnel' },
    },
    {
      path: '/result/kpi',
      name: 'kpi',
      component: () => import('@/views/result/kpi.vue'),
      meta: { title: '提成结算', icon: 'personnel' },
    },
    {
      path: '/result/piece',
      name: 'piece',
      component: () => import('@/views/result/piece.vue'),
      meta: { title: '计件结算', icon: 'personnel' },
    },
    {
      path: '/result/score',
      name: 'score',
      component: () => import('@/views/result/score.vue'),
      meta: { title: '评分结算', icon: 'personnel' },
    },
    {
      path: '/result/okr',
      name: 'okr',
      component: () => import('@/views/result/okr.vue'),
      meta: { title: 'okr结算', icon: 'personnel' },
    },
	{
	  path: '/result/scoreTotal',
	  name: 'scoreTotal',
	  component: () => import('@/views/result/scoreTotal.vue'),
	  meta: { title: '总分结算', icon: 'personnel' },
	},
    {
      path: '/result/check',
      name: 'check',
      component: () => import('@/views/perform-file/check.vue'),
      meta: { title: '员工查看绩效情况', icon: 'personnel' },
    },
  ]
}

